* xselect.c (Fx_register_dnd_atom): New function.
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 11 Aug 2006 07:31:14 +0000 (07:31 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 11 Aug 2006 07:31:14 +0000 (07:31 +0000)
commit663ba4efcf55dcaaa0eff03a7c27988737844f8f
treeb901e36054a3eb05c831020d18a5c74c9d0d415f
parent36a9a7227f4e4f3683e7e7c49f5ade4b365fe7de
* xselect.c (Fx_register_dnd_atom): New function.
(syms_of_xselect): Defsubr it.
(x_handle_dnd_message): Check that message_type is in
dpyinfo->x_dnd_atoms before generating lisp event.

* xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
of drag and drop Atoms.

* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
src/ChangeLog